$(function(){
      showandhide();
      $('#loaigiaodich').change(function(){                             
             //$('#limnit').html($('#.loaigiaodich option:selected').text());
             showandhide();
      }) ;
});

function showandhide(){
    if($('#loaigiaodich').val() != ''){
        val = $('#loaigiaodich').val();
        text = $('#loaigiaodich option:[value='+val+']').text(); 
        $('#limit').text(text);  
        $('#kyhangiaodich, #hanmuc,#hanmucvaychietkhau,#hanmuclc, .hideshow').show();
    }
    else{
        $('#kyhangiaodich, #hanmuc,#hanmucvaychietkhau,#hanmuclc, .hideshow').hide();  
    }
}